package com.sc.design.component;

/**
 * @author sc
 * Created on  2017/12/6
 */
public abstract class Crop {
    private String name = "";
    private String position = "";
    private int salary = 0;

    Crop(String _name,String _position,int _salary){
        this.name = _name;
        this.position = _position;
        this.salary = _salary;
    }
    public String getInfo() {
        return this.name+this.salary+this.position;
    }
}
